Crate strfmt

source ·
Expand description

strfmt crate

Macros

Format a given string with the passed variables. This macro is creating an single used Hashmap, for performance optimizations it might be more efficient to reuse an existing one.

Structs

Enums

Traits

This trait is effectively an re-implementation for std::fmt::Display It is used to disguise between the value types that should be formatted
This trait is a shortcut for [strfmt] for an example see Format::format

Functions

Rust-style format a string given a HashMap of the variables.
strfmt_displayDeprecated
Rust-style format a string given a HashMap of the variables. see [strfmt] for details
UNSTABLE: the Formatter object is still considered unstable Do not use this function if you aren’t willing to have changes forced on you!

Type Definitions